package com.jumi.microservice.dto.comment.api;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jumi.microservice.common.base.dto.BaseResponse;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @author Administrator
 */
public class CommentApiOneResponse extends BaseResponse {
    @ApiModelProperty(value = "商品id")
    private Integer spuGid = 0;

    @ApiModelProperty(value = "用户uid")
    private Long uid = 0L;

    @ApiModelProperty(value = "服务态度")
    private Integer serviceAttitude = 0;

    @ApiModelProperty(value = "快递包装")
    private Integer expressPackaging = 0;

    @ApiModelProperty(value = "物流服务")
    private Integer logisticsServices = 0;

    @ApiModelProperty(value = "产品满意度")
    private Integer productSatisfaction = 0;

    @ApiModelProperty(value = "评论内容")
    private String content;

    @ApiModelProperty(value = "评论图片")
    private String images;

    @ApiModelProperty(value = "评论数量")
    private Integer commentAllNum = 0;
    @ApiModelProperty(value = "好评率")
    private String commentHighNum;

    @ApiModelProperty(value = "评论时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @ApiModelProperty(value = "姓名")
    private String userName;
    @ApiModelProperty(value = "头像")
    private String userAvatar;

    public Integer getSpuGid() {
        return spuGid;
    }

    public void setSpuGid(Integer spuGid) {
        this.spuGid = spuGid;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    public Integer getServiceAttitude() {
        return serviceAttitude;
    }

    public void setServiceAttitude(Integer serviceAttitude) {
        this.serviceAttitude = serviceAttitude;
    }

    public Integer getExpressPackaging() {
        return expressPackaging;
    }

    public void setExpressPackaging(Integer expressPackaging) {
        this.expressPackaging = expressPackaging;
    }

    public Integer getLogisticsServices() {
        return logisticsServices;
    }

    public void setLogisticsServices(Integer logisticsServices) {
        this.logisticsServices = logisticsServices;
    }

    public Integer getProductSatisfaction() {
        return productSatisfaction;
    }

    public void setProductSatisfaction(Integer productSatisfaction) {
        this.productSatisfaction = productSatisfaction;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public Integer getCommentAllNum() {
        return commentAllNum;
    }

    public void setCommentAllNum(Integer commentAllNum) {
        this.commentAllNum = commentAllNum;
    }

    public String getCommentHighNum() {
        return commentHighNum;
    }

    public void setCommentHighNum(String commentHighNum) {
        this.commentHighNum = commentHighNum;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserAvatar() {
        return userAvatar;
    }

    public void setUserAvatar(String userAvatar) {
        this.userAvatar = userAvatar;
    }
}
